package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpAccountItem;
import org.example.domain.po.ErpAccountItemDTO;
import org.example.service.ErpAccountItemService;
import org.example.mapper.ErpAccountItemMapper;
import org.springframework.stereotype.Service;

/**
* @author 24059
* @description 针对表【erp_account_item(财务子表)】的数据库操作Service实现
* @createDate 2024-11-25 10:03:55
*/
@Service
public class ErpAccountItemServiceImpl extends ServiceImpl<ErpAccountItemMapper, ErpAccountItem>
    implements ErpAccountItemService{
    public int insert(ErpAccountItemDTO erpAccountItem){
        return baseMapper.insert(erpAccountItem);
    }


    public int updateby(@Param("erpAccountItem")ErpAccountItemDTO erpAccountItem,@Param("headerId") Long headerId){
        return baseMapper.updateby(erpAccountItem,headerId);
    }


}




